import ContentFlowMain from '@/views/ContentFlowMain.vue'
import Chatroom from '../views/ChatroomTv.vue'
import ContentFlowServers from '@/views/ContentFlowServers.vue'
import LeftSide from '../components/LeftSide.vue'
import RightSide from '../components/RightSide.vue'
import ChatroomLeftSide from '../components/Chatroom/ChatroomLeftSide.vue'
import ChatroomRightSide from '../components/Chatroom/ChatroomRightSide.vue'

const subroutes = []

const routes = [
  {
    path: '/', meta: { isContentFlow: true },
    components: {
      mainLeftSide: LeftSide,
      main: ContentFlowMain,
      mainRightSide: RightSide
    }, name: 'home', children: [], strict: false
  },
  {
    path: '/chatroom',
    meta: { isContentFlow: true },
    components: {
      mainLeftSide: ChatroomLeftSide,
      main: Chatroom,
      mainRightSide: ChatroomRightSide,
    },
    name: 'chatroom',
    strict: false
  },
  {
    path: '/servers',
    meta: { isContentFlow: true },
    components: { contentFlow: ContentFlowServers },
    name: 'serversList',
    strict: false
  }
]

export default routes